<template>
  <el-empty 
    :description="'404 notFound, 找不到该页面: '+ route?.redirectedFrom?.path"
    :image-size="300" 
  >
    <router-link to="/">
      <el-button type="primary">返回首页</el-button>
    </router-link>
  </el-empty>
</template>

<script lang="ts" setup>
import { useRoute } from "vue-router"

const route = useRoute();

// console.log(route.redirectedFrom.path)
</script>

<style scoped>

</style>